﻿using System.Collections.Generic;

namespace CalcSharp
{
    class paramsetup
    {
        private paramsetup() { }
        public static Dictionary<string, string> SetupCompleter(string cmd)
        {
            Dictionary<string, string> ret = new Dictionary<string, string>();
            switch (cmd)
            {
                case "MODE":
                    ret.Add("Calc. modes", "RAD;DEG;GRAD;CPLX");
                    return ret;
                case "CURRENCY":
                    ret.Add("Curency codes", "AFA;ALL;DZD;ARS;AWG;AUD;BSD;BHD;BDT;BBD;BZD;BMD;BTN;BOB;BWP;BRL;GBP;BND;BIF;XOF;XAF;KHR;CAD;CVE;KYD;CLP;CNY;COP;KMF;CRC;HRK;CUP;CYP;CZK;DKK;DJF;DOP;XCD;EGP;SVC;EEK;ETB;EUR;FKP;GMD;GHC;GIP;XAU;GTQ;GNF;GYD;HTG;HNL;HKD;HUF;ISK;INR;IDR;IQD;ILS;JMD;JPY;JOD;KZT;KES;KRW;KWD;LAK;LVL;LBP;LSL;LRD;LYD;LTL;MOP;MKD;MGF;MWK;MYR;MVR;MTL;MRO;MUR;MXN;MDL;MNT;MAD;MZM;MMK;NAD;NPR;ANG;NZD;NIO;NGN;KPW;NOK;OMR;XPF;PKR;XPD;PAB;PGK;PYG;PEN;PHP;XPT;PLN;QAR;ROL;RUB;WST;STD;SAR;SCR;SLL;XAG;SGD;SKK;SIT;SBD;SOS;ZAR;LKR;SHP;SDD;SRG;SZL;SEK;CHF;SYP;TWD;TZS;THB;TOP;TTD;TND;TRL;USD;AED;UGX;UAH;UYU;VUV;VEB;VND;YER;YUM;ZMK;ZWD;TRY");
                    return ret;
                case "SET_AVG":
                    ret.Add("Average types", "NORMAL;GEOMETRIC;HARMONIC;SQUARE");
                    return ret;
                case "SET_DEVIAT":
                    ret.Add("Deviation types", "NORMAL;CORIGATED");
                    return ret;
                case "MTRX_GEOTRNSF":
                    ret.Add("Transformations", "ROT_90CW;ROT_90CCW;FLIP_HORIZ;FLIP_VERT;RESIZE;RESIZE_BILIN;CROP");
                    return ret;
                case "MEM_CLR":
                    ret.Add("Memory Segments", "ALL;FLOAT;CPLX;MTRX;SET;STRING");
                    return ret;
                default:
                    return null;
            }
        }
    }
}
